package com.zm.feign.Imp;

import com.zm.entity.User;
import com.zm.feign.api.UserService;
import lombok.extern.slf4j.Slf4j;

import java.util.List;
@Slf4j//记录日志
public class UserServiceImpl implements UserService {
    @Override
    public Boolean addUser(User user) {
        log.error("调用user服务addUser失败的降级服务");
        return false;
    }

    @Override
    public List<User> getUserList() {
        return null;
    }
}
